package routers

import (
	"github.com/astaxie/beego"
	"second/controllers"
)

func init() {
	beego.Router("/", &controllers.MainController{})
	beego.Router("/third", &controllers.ThirdController{})
	beego.Router("/login", &controllers.LoginController{})
	beego.Router("/demo", &controllers.DemoController{})
	beego.SetStaticPath("js", "static/js")
	beego.SetStaticPath("css", "static/css")
}
